<?php
/**
 * OaEmpWxformid数据模型
 */
class OaEmpWxformidTable {
	// 数据表模型配置
	public $config = [
			'name' => 'oa_emp_wxformid',
			'title' => '员工formID',
			'search_key' => '',
			'add_button' => 1,
			'del_button' => 1,
			'search_button' => 1,
			'check_all' => 1,
			'list_row' => 20,
			'addon' => 'OaSystem'
	];
	
	// 列表定义
	public $list_grid = [ ];
	
	// 字段定义
	public $fields = [
			'emp_id' => [
					'title' => '员工ID',
					'type' => 'num',
					'field' => 'int(10) NOT NULL',
					'is_show' => 1,
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'openid' => [
					'title' => 'WxOpenId',
					'type' => 'string',
					'field' => 'varchar(100) NOT NULL',
					'is_show' => 1,
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'formid' => [
					'title' => 'WxFormId',
					'type' => 'string',
					'field' => 'varchar(100) NOT NULL',
					'is_show' => 1,
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'validtime' => [
					'title' => '有效时间',
					'type' => 'datetime',
					'field' => 'int(10) NOT NULL',
					'is_show' => 1,
					'is_must' => 1
			]
	];
}	